package com.ice.demo.generic.methods;

import com.ice.demo.generic.interfaces.User;

import java.util.List;

public class GenericMethodsTest {

    static void main() {
        List<String> list = Utils.toList(new String[]{"hello", "world"});
        System.out.println(list);

        User ice = new User("1", "ice");
        List<?> world = new Utils().concat(123L, ice);
        System.out.println(world);
    }
}
